package com.wealth.lottery.service;

import java.util.List;

import org.springframework.stereotype.Component;

import com.wealth.lottery.entity.LotteryPrize;

import iaas.service.IBaseService;
/**
 * ILotteryPrizeService
 * @author lihang 2016-06-27
 *
 */
@Component
public interface ILotteryPrizeService extends IBaseService<LotteryPrize>{

	/**
	 * 查询该活动可中奖的商品
	 */
	List<LotteryPrize> getPrize(Long corpid,Long activityid) throws Exception;
	/**返回被抽中的奖品*/
	LotteryPrize getluckPrize(Long activityid,int lucknum,Long corpid) throws Exception;
	/**查询某活动下的所有奖品*/
	List<LotteryPrize> getPrizeByActivity(Long activityid,Long corpid);
}
